 <?php $feeds = $this->requestAction('rss/index'); ?>
 <div class="right-bar">
	<span class="stitle"><h3>Tin giáo dục</h3></span>
	<div class="scontent">
		<?php
			$max = 5;
			$count = 0;
			foreach ($feeds as $feed) {
				$count++; 
				if($count == 1 ) {
			?>
		
		<div class="top-feed">
			<div><?php echo $html->link($feed['title'], $feed['link'], array('class'=>'feed-title'));?></div>
			<div class="feed-desc">
				<?php echo $feed['description']; ?>
			</div>
		</div>
		
		<div class="other-feeds">
			<ul>
			<?php } else if($count <= $max) { ?>
				<li><?php echo $html->link($feed['title'], $feed['link'], array('class'=>'ofeed-title'));?>
				</li>
				<?php } if($count == $max) { ?>
				
			</ul>
		</div>
		<?php }} ?>
	</div>
</div>